
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 商家资金流水
    /// </summary>
    public partial class ShopAccountItemInfo:BaseModel
    {
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        public long ShopId { get; set; }
        public string ShopName { get; set; }
        /// <summary>
        /// 交易流水号
        /// </summary>
        public string AccountNo { get; set; }
        /// <summary>
        /// 关联资金编号
        /// </summary>
        public long AccoutID { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CreateTime { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 交易类型
        /// </summary>
        public Himall.CommonModel.ShopAccountType TradeType { get; set; }
        /// <summary>
        /// 是否收入
        /// </summary>
        public bool IsIncome { get; set; }
        /// <summary>
        /// 交易备注
        /// </summary>
        public string ReMark { get; set; }
        /// <summary>
        /// 详情ID
        /// </summary>
        public string DetailId { get; set; }
        /// <summary>
        /// 帐户剩余
        /// </summary>
        public decimal Balance { get; set; }
        /// <summary>
        /// 结算周期(以天为单位)(冗余字段)
        /// </summary>
        public int SettlementCycle { get; set; }
    
        public virtual ShopAccountInfo Himall_ShopAccount { get; set; }
    }
}
